
<!-- User Info, Notifications and Menu Bar -->
<nav class="navbar user-info-navbar" role="navigation">

    <!-- Left links for user info navbar -->
    <ul class="user-info-menu left-links list-inline list-unstyled">

        <li class="hidden-sm hidden-xs">
            <a href="#" data-toggle="sidebar">
                <i class="fa-bars"></i>
            </a>
        </li>
    </ul>


    <!-- Right links for user info navbar -->
    <ul class="user-info-menu right-links list-inline list-unstyled">
<!--        <li class="search-form"> You can add "always-visible" to show make the search input visible -->
<!---->
<!--            <form method="get" action="extra-search.html">-->
<!--                <input type="text" name="s" class="form-control search-field" placeholder="Type to search..." />-->
<!---->
<!--                <button type="submit" class="btn btn-link">-->
<!--                    <i class="linecons-search"></i>-->
<!--                </button>-->
<!--            </form>-->
<!---->
<!--        </li>-->

        <li class="dropdown user-profile">
            <a href="javascript:;" data-toggle="dropdown">
                <img src="<?php echo URLPRE.'uploads/'.SITEID.'/expert/avatar/'.$this->session->userdata('admin_user_id').'.jpg'?>" onerror="this.error=null;this.src='<?php echo site_url('static/public/images/nophoto.jpg')?>'" alt="user-image" class="img-circle img-inline userpic-32" width="28" height="28" />
                <span> <?php echo $this->session->userdata('admin_user_name')?><i class="fa-angle-down"></i>
                </span>
            </a>

            <ul class="dropdown-menu user-profile-menu list-unstyled">
                <!--<li>
                    <a href="#edit-profile">
                        <i class="fa-edit"></i>
                        New Post
                    </a>
                </li>
                <li>
                    <a href="#settings">
                        <i class="fa-wrench"></i>
                        Settings
                    </a>
                </li>-->
                <li>
                    <a href="<?php echo site_url('mobile/index?touchtpl=default');?>"  target="_blank">
                        <i class="fa-info"></i>
                        手机版
                    </a>
                </li>
                <li>
                    <a href="<?php echo site_url('mobile/index?touchtpl='.strtolower($GLOBALS['config']['mobiletemplate']).'&preview=1');?>"  target="_blank">
                        <i class="fa-info"></i>
                        <?php echo (strtolower($GLOBALS['config']['mobiletemplate'])=='tl') ? '同业版' : '微信版'; ?>
                    </a>
                </li>
                <li class="last">
                    <a href="<?php echo site_url('admin/index/logout')?>">
                        <i class="fa-lock"></i>
                        退出
                    </a>
                </li>
            </ul>
        </li>

       <!-- <li>
            <a href="#" data-toggle="chat">
                <i class="fa-comments-o"></i>
            </a>
        </li>-->

    </ul>

</nav>
			